/*
    异步 echo server, 并处理粘包
*/

#include "server.h"

int main(void)
{
    try
    {
        boost::asio::io_context io_context;
        Server s(io_context, 12345);
        io_context.run();
    }
    catch (const std::exception& e)
    {
        std::cout << "Exception: " << e.what() << std::endl;
        return 1;
    }

    return 0;
}